//
//  NSArray+SCBaseExt.m
//  SCFoundationKit
//
//  Created by Chao Sheng on 2023/10/23.
//

#import "NSArray+SCBaseExt.h"

@implementation NSArray (SCBaseExt)

- (id)sc_objAtIndex:(NSUInteger)index {
    if(index >= self.count) {
        NSLog(@"数组越界,取index=%ld,数组=%@",index,self);
        return nil;
    } else {
        return [self objectAtIndex:index];
    }
}

@end
